package com.github.prontera.domain;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.github.prontera.domain.enums.ClientBankCardStatusEnum;
import com.github.prontera.domain.enums.ClientBankCardTypeEnum;
import com.github.prontera.domain.enums.YesOrNoEnum;
import com.github.prontera.model.BasicDomain;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * u_client_bank_card-用户银行卡列表(包含支付宝,微信账户)
 */
@ToString
@EqualsAndHashCode(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class ClientBankCard extends BasicDomain{

	private static final long serialVersionUID = 1L;
    
	/**
	 * 持卡人
	 */
	@ApiModelProperty(value = "持卡人")
    private Long clientId;
	/**
	 * 持卡人
	 */
	@ApiModelProperty(value = "持卡人")
    private String userName;
	/**
	 * 卡号
	 */
	@ApiModelProperty(value = "卡号")
    private String cardNo;
	/**
	 * 卡类型,0:支付宝,1:微信
	 */
	@ApiModelProperty(value = "卡类型,0:支付宝,1:微信")
    private ClientBankCardTypeEnum cardType;
	/**
	 * 是否已经激活 0:已经激活,1:未激活
	 */
	@ApiModelProperty(value = "是否已经激活 0:已经激活,1:未激活")
    private YesOrNoEnum isActivity;
	/**
	 * 是否默认 0:默认,1:非默认
	 */
	@ApiModelProperty(value = "是否默认 0:默认,1:非默认")
    private YesOrNoEnum isDefault;
	/**
	 * 0:使用中,1:已经删除
	 */
	@ApiModelProperty(value = "0:使用中,1:已经删除")
    private ClientBankCardStatusEnum status;
    
    public ClientBankCard(){
    
    }
    
    public YesOrNoEnum getIsDefault() {
		return isDefault;
	}

	public void setIsDefault(YesOrNoEnum isDefault) {
		this.isDefault = isDefault;
	}

	public Long getClientId() {
        return this.clientId;
    }
    
    public void setClientId(Long clientId) {
        this.clientId = clientId;
    }
    public String getUserName() {
        return this.userName;
    }
    
    public void setUserName(String userName) {
        this.userName = userName;
    }
    public String getCardNo() {
        return this.cardNo;
    }
    
    public void setCardNo(String cardNo) {
        this.cardNo = cardNo;
    }
    public ClientBankCardTypeEnum getCardType() {
        return this.cardType;
    }
    
    public void setCardType(ClientBankCardTypeEnum cardType) {
        this.cardType = cardType;
    }
    public YesOrNoEnum getIsActivity() {
        return this.isActivity;
    }
    
    public void setIsActivity(YesOrNoEnum isActivity) {
        this.isActivity = isActivity;
    }
    public ClientBankCardStatusEnum getStatus() {
        return this.status;
    }
    
    public void setStatus(ClientBankCardStatusEnum status) {
        this.status = status;
    }
    
}
